package OOday04;

/**
 * @description: TODO
 * @author yumo
 * @version: 1.0
 * @date 2025/3/10 10:48
 */
public class GetterSetterDemo {
    public static void main(String[] args) {
        Point p=new Point();
        p.setX(100);
        p.setY(300);
        System.out.println(p.getX()+","+p.getY());
    }
}
